package com.security.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @USER: ysx
 * @CREATE: 2021/1/26 13:23
 */
@Controller
public class MySecurityController {

    @RequestMapping("/toLogin")
    public String toLogin() {
        return "login";
    }

    @RequestMapping("/toMain")
    public String toMain() {
        return "main";
    }

}
